<?php
namespace app\index\controller;
/**
 * Created by Submint Text.
 * User: hetaoren<452649510@qq.com>
 * Date: 2017/03/10
 * Explain: 信息控制器
 */
class Remind extends Base{
    
    public function index(){
        $this->assign("staffRoleId",session("HTR_STAFF.staffRoleId"));
        return $this->fetch("list");
    }
    /**
     * 获取分页
     */
    public function pageQuery(){
        session('remind_type',0);
        return model('Remind')->pageQuery();
    }
    /**
    * 是否
    */
    public function changeRead($id){
        return model('Remind')->changeRead($id);
    }
    /**
     * 删除
     */
    public function del(){
        return model('Remind')->del();
    }
}
